projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
394955c
)
stack: Make static analyzer happy
author
Benjamin Otte
<otte@redhat.com>
Fri, 6 Mar 2020 04:56:29 +0000
(
05:56
+0100)
committer
Benjamin Otte
<otte@redhat.com>
Fri, 6 Mar 2020 04:56:29 +0000
(
05:56
+0100)
gtk/gtkstack.c
patch
|
blob
|
history
diff --git
a/gtk/gtkstack.c
b/gtk/gtkstack.c
index fc6a46347eda182e7ff7ec939f596aca43afbdfc..887c9cf6c9667eaf13448aee2d9a63ee46681aa8 100644
(file)
--- a/
gtk/gtkstack.c
+++ b/
gtk/gtkstack.c
@@
-1301,6
+1301,7
@@
stack_child_visibility_notify_cb (GObject *obj,
GtkStackPage *child_info;
child_info = find_child_info_for_widget (stack, child);
+ g_return_if_fail (child_info != NULL);
if (priv->visible_child == NULL &&
gtk_widget_get_visible (child))